package com.wan.data.mysql.exception;

public class DbDataException extends RuntimeException {

    private static final String data_err = "DB数据异常: %s";

    public DbDataException() {
        super(String.format(data_err,"error"));
    }

    public DbDataException(Throwable cause) {
        super(String.format(data_err,"error"),cause);
    }

    public DbDataException(String message) {
        super(String.format(data_err,message));
    }

    public DbDataException(String message, Throwable cause) {
        super(String.format(data_err,message), cause);
    }

}
